package com.qxbb.report.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.qxbb.report.utils.CustomDoubleSerialize;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @version 1.0
 * @author: pebble
 * @data 2023/10/10 9:12
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class StatisticsYearVO {

    /**
     * 年
     */
    private String  year;

    /**
     * 年份排序
     */
    private Integer yearId;

    /**
     * 净售量
     */
    private int netSalesVolume;

    /**
     * 赠品量
     */
    private int giftQuantity;

    /**
     * 净售额
     */
    @JsonSerialize(using = CustomDoubleSerialize.class)
    private double netSalesAmount;

    /**
     * 净成本
     */
    @JsonSerialize(using = CustomDoubleSerialize.class)
    private double netCost;

    /**
     * 利润
     */
    @JsonSerialize(using = CustomDoubleSerialize.class)
    private double profit;

}
